package ${parentPack}.service;

import java.util.List;
import ${parentPack}.util.Page;

import ${parentPack}.entity.${tableName};

/**
 *	${tableRemarks}管理
 * @author Administrator
 *
 */
public interface ${tableName}Service {
	
	Integer add(${tableName} entity);
	
	Integer update(${tableName} ${tableValue});
	
	Integer deleteById(Integer id);
	
	${tableName} findById(Integer id); 
	
	Integer getTotal(${tableName} ${tableValue});

	List<${tableName}> findAll();
	
	List<${tableName}> findBy${tableName}(${tableName} ${tableValue});
	
	List<${tableName}> findByPage(Page<?> page);
}
